package stud.mpgame.flash.preview;

import flash.utils.IDataInput;
import stud.mpgame.network.Message;
import stud.mpgame.network.UserObject;

/**
 * ...
 * @author ghfjsdkl
 */

class MapInfo extends UserObject
{
	public var mapURL:String;

	public function new() 
	{
		super();
	}
    
	public function getURL():String 
    {
		return this.mapURL;
	}
	
	override public function readExternal(input:IDataInput, message:Message):Void 
	{
		mapURL = input.readUTF();
	}
}